#include "types.h"
#include "stat.h"
#include "user.h"

int i;
int main(void)
{

  int pid = cowfork();
  //int 
	i=2;
  if(pid==0)
	i=1;
  else
	wait();
  printf(1,"%d\n",i);
  char *f = (char*)main;
  *f=123;
  exit();
}
